package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.BrandDTO;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.entity.Brand;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BrandService extends IService<Brand> {
    PageDTO<BrandDTO> queryByPage(Integer page, Integer rows, String key);

    void addOrUpdate(BrandDTO brandDTO);

    List<String> getBrands();
}
